package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 工单结单表
 * </p>
 *
 * @author WEN
 * @since 2023-11-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjWorkFinishOrder对象", description="工单结单表")
public class ZjWorkFinishOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "商家ID")
    private Long custAccId;

    @ApiModelProperty(value = "工单ID")
    private Long workId;

    @ApiModelProperty(value = "服务商ID")
    private Long networkId;

    @ApiModelProperty(value = "服务商人员ID")
    private Long networkEmpId;

    @ApiModelProperty(value = "审核类型：1-未审核，2-审核通过，3-审核不通过，4-已取消")
    private Integer status;

    @ApiModelProperty(value = "申请人类型：1-系统客服，2-网点移动端，3-第三方系统接口")
    private Integer applyEmpType;

    @ApiModelProperty(value = "申请人员ID")
    private Long applyEmpId;

    @ApiModelProperty(value = "申请人名称")
    private String applyEmp;

    @ApiModelProperty(value = "申请备注")
    private String applyRemark;

    @ApiModelProperty(value = "结单总费用")
    private BigDecimal price;

    @ApiModelProperty(value = "确认结单费用")
    private BigDecimal surePrice;

    @ApiModelProperty(value = "审核人员id")
    private Long revieworEmpId;

    @ApiModelProperty(value = "审核人员")
    private String revieworEmp;

    @ApiModelProperty(value = "审核时间")
    private Date reviewTime;

    @ApiModelProperty(value = "审核备注")
    private String reviewRemark;

    @ApiModelProperty(value = "创建/申请时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdate;


}
